package cn.lili.modules.grab.dingdong.res.after;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateServiceRequest {

    @ApiModelProperty("固定值")
    private String device = "6";

    @ApiModelProperty("商品ID")
    private String goods_id;

    @ApiModelProperty("规格ID")
    private String spec_id;

    @ApiModelProperty("订单接口返回")
    private String order_sn;

    @ApiModelProperty("服务类型")
    private String service_type;

    @ApiModelProperty("数量")
    private String service_num;

    @ApiModelProperty("服务描述")
    private String service_desc;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("申请售后图片集合")
    private List<Resources> resources;

    @Data
    public static class Resources {

        @ApiModelProperty("图片地址")
        private String resource_name;

        @ApiModelProperty("资源类型")
        private String resource_type;
    }
}
